import java.util.Scanner;

public class Score {

    //需求：完成评委打分的案例
    public static void main(String[] args) {
        double[] scores = new double[6];
        Scanner s = new Scanner(System.in);
        for (int i = 0; i < scores.length; i++) {

            System.out.println("请输入第" + (i + 1) + "个评委的成绩");
            scores[i] = s.nextInt();
        }

        int sum = 0;
        for (int i = 0; i < scores.length; i++) {

            sum += scores[i];
        }
        System.out.println("该选手的平均分为:");
        System.out.println(sum / scores.length);
    }
}